﻿using System;
using HKEA.CMS.Core.Utility;

namespace WebApplication.UserControl
{
    public partial class MainTabControl : System.Web.UI.UserControl
    {
        protected string url_param = string.Empty;

        protected void Page_Load(object sender, EventArgs e)
        {
            InitUrlParam();
        }

        private void InitUrlParam()
        {
            string uid = Request.QueryString[Constant.UrlParamName.CustomerUID];
            if (!string.IsNullOrEmpty(uid))
            {
                url_param = string.Format("?{0}={1}", Constant.UrlParamName.CustomerUID, uid);
            }
            else
            {
                url_param = "false";
            }
        }
    }
}